package cn.ejiajunxy.manager.adapter;

import android.content.Context;

import com.leo.baseui.mutiType.listFragment.ListAdapter2;

import cn.ejiajunxy.manager.model.HeadModel;
import cn.ejiajunxy.manager.model.MoneyModel;
import cn.ejiajunxy.manager.model.MyOrderModel;
import cn.ejiajunxy.manager.provider.HeadProvider;
import cn.ejiajunxy.manager.provider.MoneyProvider;
import cn.ejiajunxy.manager.provider.MyOrderProvider;

/**
 * Created by zhangguobao on 2018/3/17.
 */

public class MineAdapter extends ListAdapter2 {
    public MineAdapter(Context context) {
        register(MyOrderModel.TradeListBean.class,new MyOrderProvider());
        register(HeadModel.class,new HeadProvider());
        register(MoneyModel.class,new MoneyProvider(context));
    }
}
